package com.sdut.material.mapper;

import com.sdut.material.pojo.Material;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Yu
 * @since 2022-04-20
 */
public interface MaterialMapper extends BaseMapper<Material> {

    List<Material> selectByPage(@Param("offset") long offset,@Param("limit") long limit);

    int selectTotalCount();

}
